<script setup lang="ts">
import { useRouter } from 'vue-router';
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import en from 'element-plus/es/locale/lang/en'
const router = useRouter();
</script>

<template>
  <el-config-provider :locale="zhCn">


    <button @click="()=> router.push({ path:'/mine' })">我的</button>
  <button @click="()=> router.push({ path:'/home' })">首页</button>
  <router-view></router-view>
  </el-config-provider>
</template>

<style scoped lang="scss">
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}

#app {
  button{
    color: red;
  }
}
</style>
